<?php 
$images = $this->get_data('images');
$main_images = isset($images['main']) ? $images['main'] : array();
$htu_images = isset($images['htu']) ? $images['htu'] : array();
?>
<h2>Product Content:</h2>
<div id="image_wrap">
    <div class="main">
        <div id="main_img_wrap" class="body">
        <?php foreach ($main_images as $img):?>
        <div class="item inline-block"><img src="<?php echo tos_cdn_url($img['src']);?>" alt="<?php echo $img['alt'];?>" /></div>
        <?php endforeach;?>
        </div>
    </div>
    <div class="htu">
        <div id="htu_img_wrap" class="body">
        <?php foreach ($htu_images as $img):?>
        <div class="item inline-block"><img src="<?php echo tos_cdn_url($img['src']);?>" alt="<?php echo $img['alt'];?>" /></div>
        <?php endforeach;?>
        </div>
    </div>
</div>
<div id="product_content">
    <?php $this->write('content');?>
</div>
<div class="clear"></div>